package com.wteam.dragon.shop.pojo.dto;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.wteam.dragon.shop.pojo.bean.ProductAttribute;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @Author 陈晓辉
 * @Date 2020/7/8 10:36
 */
@Getter
@Setter
@TableName("product_product_attribute")
public class ProductProductAttributeDto implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long productId;

    private Long productAttributeId;

    private String value;

    @TableLogic
    private Boolean isDelete;

    @TableField(exist = false)
    @JsonInclude
    private ProductAttribute productAttribute;
}
